package mse.eai.jbpm.sendFriendshipRequest;

import mse.eai.jbpm.dailyDigestProcess.PrintRequest;

import org.jboss.logging.Logger;
import org.jbpm.graph.def.ActionHandler;
import org.jbpm.graph.exe.ExecutionContext;

public class PrepareFrienshipRequest implements ActionHandler {

	private static final Logger log = Logger
	.getLogger(PrepareFrienshipRequest.class);
	
	@Override
	public void execute(ExecutionContext context) throws Exception {

		log.info("Executing ---------->");
		
		context.setVariable("action", "MAKE");
		
		log.info("Set in context: " + "action  = " + "MAKE");
		
		log.info("<--------------- Done");
		
		context.leaveNode();
		
		
	}

}
